package com.group.controller;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.group.pojo.TbAttrName;
import com.group.service.AttrNameService;
import com.group.util.CommonUtil;

@Controller
@RequestMapping("/attrName")
public class AttrNameController {
	@Autowired
	private AttrNameService attrNameService;


	// 查询所有的属性
	@RequestMapping("/query.action")
	@ResponseBody
	public List<TbAttrName> query(TbAttrName attrName) {
		return attrNameService.query(attrName);
	}
	
	
}
